home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 6_3.lha / 6_3 / makefile < prev    next >
Makefile  |  1993-08-08  |  574b  |  26 lines

  1. C= CC -I. -I../../CC
  2. RROR= ../../error.o
  3. FLAGS=
  4.  
  5. ll: tst1 tst2
  6.  
  7. st4: tst4.c
  8. $(CC) +i tst4.c -o tst4
  9.  
  10. st1: tst1.c 6_3a.c 6_3b.c 6_3c1.c 6_3c2.c substr.h ../6.1dir/strclass.h 6_3st1.h
  11. $(CC) $(CFLAGS) -D_6_3 -I../6.1dir tst1.c -o tst1 $(ERROR)
  12.  
  13. st2: tst1.c 6_3a.c 6_3b.c 6_3d.c substr.h ../6.1dir/strclass.h 6_3st1.h
  14. $(CC) $(CFLAGS) -D_6_3 -DTSTD -I../6.1dir tst1.c -o tst2 $(ERROR)
  15.  
  16. MP= tst1.cmp tst2.cmp
  17. UT= tst1.out tst2.out
  18.  
  19. st1.out: tst1 ;    tst1 > tst1.out
  20. st2.out: tst2 ;    tst2 > tst2.out
  21.  
  22. est: all $(OUT) $(CMP)
  23. cmp tst1.out tst1.cmp
  24. cmp tst2.out tst2.cmp
  25. echo tests done
  26.